package com.xm.settlement.model;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xm.settlement.commons.utils.JsonUtils;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *Created by Administrator on 2017/3/24.
 *
 */
@TableName(value = "app_package_desc")
public class AppPackageDesc implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键id */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 类型*/
	private String type;

	/** 类型编号 */
	private Integer index;

	/** 名称 */
	private String name;

	/** 状态 */
	private Integer status;


	/** 内容描述 */
	private String desc;

	/** 创建人 */
	@TableField(value = "create_id")
	private Long createId;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 修改人 */
	@TableField(value = "update_id")
	private Long updateId;

	/** 修改时间 */
	@TableField(value = "update_time")
	private Date updateTime;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}
	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Long getCreateId() {
		return createId;
	}

	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	public Long getUpdateId() {
		return updateId;
	}

	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	@Override
	public String toString() {
		return JsonUtils.toJson(this);
	}
}
